package com.capgemini.scaffold.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.capgemini.scaffold.dto.AfterDTO;
import com.capgemini.scaffold.dto.FrontDTO;
import com.capgemini.scaffold.entity.After;
import com.capgemini.scaffold.entity.Front;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 后端成绩持久层接口
 */
@Mapper
public interface AfterMapper extends BaseMapper<After> {
    //分页+姓名模糊
    List<After> queryFront(@Param("req") AfterDTO req);
    IPage<After> findFront(Page<After> page, @Param("req") AfterDTO req);


}
